package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.ZjNetworkEmpAddress;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.Pattern;

/**
 * <p>
 * 网点人员地址表 Mapper 接口
 * </p>
 *
 * @author WEN
 * @since 2023-11-20
 */
@Repository
public interface ZjNetworkEmpAddressMapper extends BaseMapper<ZjNetworkEmpAddress> {

    /**
     * 根据服务人员ID获取默认地址
     * @param networkEmpId 服务人员ID
     * @return
     */
    ZjNetworkEmpAddress getDefaultAddressByNetworkEmpId(@Param("networkEmpId") Long networkEmpId);

}
